package com.computer;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ComputerTest {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("computerbeans.xml");
        Computer computer = context.getBean("computer",Computer.class);
        System.out.println(computer);
    }
}
